﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace gChartSharp.ChartParams
{
    public class ChartAxesStyle : IChartParam
    {

        public string Name { get { return ""; } }

        public List<ChartAxisStyle> AxesStyle { get; set; }


        public string Render()
        {
            StringBuilder sb = new StringBuilder();

            return sb.ToString();
        }
    }



    public class ChartAxisStyle
    {
        /// <summary>
        /// AxisIndex is the axis index as specified in chxt.
        /// </summary>
        public int AxisIndex { get; set; }


        /// <summary>
        /// Color is an RRGGBB format hexadecimal number.
        /// </summary>
        public Color Color { get; set; }


        /// <summary>
        /// FontSize is optional. If used this specifies the size in pixels.
        /// </summary>
        public int FontSize { get; set; }


        /// <summary>
        /// Alignment is optional. By default: x-axis labels are centered, left y-axis 
        /// labels are right aligned, right y-axis labels are left aligned. 
        /// To specify alignment, use 0 for centered, -1 for left aligned, and 
        /// 1 for right aligned.
        /// </summary>
        public int Alignment { get; set; }
    }
}
